<!DOCTYPE HTML>
<title>Canvas test: size.attributes.style</title>
<!--[if IE]><script src="../excanvas/excanvas.js"></script><![endif]-->
<script src="../tests.js"></script>
<link rel="stylesheet" href="../tests.css">
<body class="framed show_output">
<h1>
<a href="size.attributes.style.html" target="_parent">size.&#8203;attributes.&#8203;style</a>
</h1>
<p><a href="#" id="show_output" onclick="document.body.className += ' show_output'; return false">[show output]</a>
<p class="output">Actual output:</p>
<canvas id="c" class="output" width="50" height="30" style="width: 100px; height: 50px"><p class="fallback">FAIL (fallback content)</p></canvas>

<ul id="d"></ul>
<script>
_addTest(function(canvas, ctx) {

_assertEqual(canvas.width, 50, "canvas.width", "50");
_assertEqual(canvas.height, 30, "canvas.height", "30");


});
</script>

